package com.bolovan.infovaluta.reader;

import java.io.IOException;

import com.bolovan.infovaluta.bean.ExchangeRate;
import com.bolovan.infovaluta.bean.ExchangeRateSeller;

public abstract class ExchangeReader {

	private ExchangeRateSeller seller;
	private String date;
	private String parsingDate;

	public ExchangeReader(ExchangeRateSeller seller) {
		this.setSeller(seller);
	}

	public abstract void buildRateMap(ExchangeRate map) throws IOException;

	public ExchangeRateSeller getSeller() {
		return seller;
	}

	public void setSeller(ExchangeRateSeller seller) {
		this.seller = seller;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getParsingDate() {
		return parsingDate;
	}

	public void setParsingDate(String parsingDate) {
		this.parsingDate = parsingDate;
	}
}
